<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html><html lang="en">
	<head>
		<!--加载header文件-->
		<?php
		include_once 'public/views/header.php';
		include_once 'public/home/html/alert.php';
		?>
		<link rel="stylesheet" href="public/css/list.css" />
		<link rel="stylesheet" href="public/xr/xrDatatable.css" />
		<script src="public/xr/xrDatatable.js"></script>
		<script src="public/js/list.js"></script>
		<script src="public/home/js/function.js"></script>
		<script src="cust/js/statisticsAttendScoreList.js"></script>
	</head>
	<body>
		<input type="hidden" id="zjipc_auth_url" value="<?php echo ZJIPC_AUTH_URL ?>">
		<input type="hidden" id="zjipc_app_id" value="<?php echo ZJIPC_APP_ID ?>">
		<div class="page-container container">
			<div class="searchForm">
			    <div class="searchForm-title"><i class="icon-table searchForm-title-icon"></i>数据表格<i class="icon-double-angle-up searchFormTitleIcon"></i></div>
			    <div class="searchForm-main">
					<form id="searchForm">						
						<select name="dept_name" id="dept_name" style='width: auto'>
							<option value="-1" checked>请选择分院部门</option>
						<?php foreach ($dept_list as $k => $v):?>
							<option value="<?php echo $v['dept_name']?>"><?php echo $v['dept_name']?></option>
						<?php endforeach ?>
						</select>	
					</form>
				</div>
			</div>	
			<div class="operationRow">
 				<button class="pageItemButton" onclick="Export()"><i class="icon-edit"></i>导出</button>
			</div>		
			<div class="listcontent">
				<div class='xrTableRow'>
					<table id="table" class="xrTable">
						<thead>
							<tr>
								<th name="_xrno"></th>
								<!-- <th name="_oper" style="width: 120px;">操作</th> -->
								<th name="_type" >  评价项目 </th>
								<th name="_key_index" > 评价内容 </th>
								<th name="_max" > 最高分 </th>
								<th name="_min" > 最低分 </th>
								<th name="_avg" > 平均分 </th>
							</tr>
						</thead>
					</table>
				</div>
			</div>
		</div>
	</body>
	<script>
		$("body").keydown(function() {
             if (event.keyCode == "13") {//keyCode=13是回车键
                 $('.searchButton').click();
             }
         });
		$("#role").change(function(){
			$('.searchButton').click();
		});
		$("#admin_type").change(function(){
			$('.searchButton').click();
		});
	</script>
</html>